import Vue from 'vue'
import App from './App.vue'

import axios from 'axios'

import echarts from 'echarts'
// import 'echarts/map/js/china'
import 'src/assets/styles/index.scss'

Vue.prototype.$axios = axios

axios.defaults.headers.post['Content-Type'] = 'application/json'

Vue.prototype.$echarts = echarts

import VueParticles from 'vue-particles'
Vue.use(VueParticles) 
import store from './store'
// import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'src/assets/js/rem.js'
import router from './router'

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
